package frame.options.physicalNetworks.create;

import com.nexes.wizard.WizardPanelDescriptor;

public class CreatePhysicalNetworksFinishDescriptor extends WizardPanelDescriptor
{
	public static final String IDENTIFIER = "CreatePhysicalNetworksFinishDescriptor";
	
	private CreatePhysicalNetworksFinishPanel backupPanel;
	public CreatePhysicalNetworksFinishPanel getBackupPanel(){ return backupPanel; }
	public void setBackupPanel( CreatePhysicalNetworksFinishPanel backupPanel ){ this.backupPanel = backupPanel; }
	
	public CreatePhysicalNetworksFinishDescriptor()
    {
		this.setBackupPanel( new CreatePhysicalNetworksFinishPanel() );
		
		this.setPanelDescriptorIdentifier( CreatePhysicalNetworksFinishDescriptor.IDENTIFIER );
    	this.setPanelComponent( this.getBackupPanel() );
    }
    
    @Override
	public Object getBackPanelDescriptor()
    {
    	return CreatePhysicalNetworksSelectDescriptor.IDENTIFIER;
    }
    
    @Override
	public Object getNextPanelDescriptor()
    {
    	return FINISH;
    }
    
    @Override
	public void aboutToDisplayPanel()
    {
    	this.getWizard().setNextFinishButtonEnabled( true );
    }
    
	public void aboutToHidePanel(){ }
    
}